package com.tj.template.application.trade.output;

import com.tj.bo.common.conf.api.ResponseData;

/**
 * @program: binary-option
 * @description
 * @author: binary
 * @create: 2020-06-11 10:18
 **/
public class TradeInfoResponse implements ResponseData {

    /**
     *交易号
     */
    private String tradeNo;
    /**
     *产品code BCHUSD,GBPJPY,EURJPY
     */
    private String productCode;
    private String productName;
    private String productIcon;
    /**
     *下单周期，如1min 3min 5min
     */
    private Integer productPeriod;
    /**
     * 订单类型 0:虚拟订单 1:真实订单
     */
    private Integer tradeType;
    /**
     * 下单趋势，0:压跌 1:压涨
     */
    private Integer trendType;
    /**
     * 货币类型 0:INR
     */
    private Integer coinType;
    /**
     *下单金额
     */
    private String amount;
    /**
     *盈利金额
     */
    private String profitAmount;
    /**
     *订单状态 1：开盘中 2：已开盘
     */
    private Integer orderStatus;
    private String orderStatusText;
    /**
     *盈利状态 0：未盈利 1：盈利
     */
    private Integer profitStatus;
    /**
     *开盘时间
     */
    private String openingTime;
    /**
     *开盘价格
     */
    private String openingPrice;
    /**
     *收盘时间
     */
    private String closingTime;
    /**
     *收盘价格
     */
    private String closingPrice;
    /**
     *创建日期
     */
    private String createDate;
    /**
     * 剩余刷新秒数
     */
    private Integer refreshSeconds;
    /**
     * 到期时间戳
     */
    private Long expectDeadline;

    private String profitPercent;

    public String getProfitPercent() {
        return profitPercent;
    }

    public TradeInfoResponse setProfitPercent(String profitPercent) {
        this.profitPercent = profitPercent;
        return this;
    }

    public Long getExpectDeadline() {
        return expectDeadline;
    }

    public TradeInfoResponse setExpectDeadline(Long expectDeadline) {
        this.expectDeadline = expectDeadline;
        return this;
    }

    public String getOrderStatusText() {
        return orderStatusText;
    }

    public TradeInfoResponse setOrderStatusText(String orderStatusText) {
        this.orderStatusText = orderStatusText;
        return this;
    }

    public String getProductName() {
        return productName;
    }

    public TradeInfoResponse setProductName(String productName) {
        this.productName = productName;
        return this;
    }

    public String getProductIcon() {
        return productIcon;
    }

    public TradeInfoResponse setProductIcon(String productIcon) {
        this.productIcon = productIcon;
        return this;
    }

    public Integer getRefreshSeconds() {
        return refreshSeconds;
    }

    public TradeInfoResponse setRefreshSeconds(Integer refreshSeconds) {
        this.refreshSeconds = refreshSeconds;
        return this;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public TradeInfoResponse setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
        return this;
    }

    public String getProductCode() {
        return productCode;
    }

    public TradeInfoResponse setProductCode(String productCode) {
        this.productCode = productCode;
        return this;
    }

    public Integer getProductPeriod() {
        return productPeriod;
    }

    public TradeInfoResponse setProductPeriod(Integer productPeriod) {
        this.productPeriod = productPeriod;
        return this;
    }

    public Integer getTradeType() {
        return tradeType;
    }

    public TradeInfoResponse setTradeType(Integer tradeType) {
        this.tradeType = tradeType;
        return this;
    }

    public Integer getTrendType() {
        return trendType;
    }

    public TradeInfoResponse setTrendType(Integer trendType) {
        this.trendType = trendType;
        return this;
    }

    public Integer getCoinType() {
        return coinType;
    }

    public TradeInfoResponse setCoinType(Integer coinType) {
        this.coinType = coinType;
        return this;
    }

    public String getAmount() {
        return amount;
    }

    public TradeInfoResponse setAmount(String amount) {
        this.amount = amount;
        return this;
    }

    public String getProfitAmount() {
        return profitAmount;
    }

    public TradeInfoResponse setProfitAmount(String profitAmount) {
        this.profitAmount = profitAmount;
        return this;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public TradeInfoResponse setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
        return this;
    }

    public Integer getProfitStatus() {
        return profitStatus;
    }

    public TradeInfoResponse setProfitStatus(Integer profitStatus) {
        this.profitStatus = profitStatus;
        return this;
    }

    public String getOpeningTime() {
        return openingTime;
    }

    public TradeInfoResponse setOpeningTime(String openingTime) {
        this.openingTime = openingTime;
        return this;
    }

    public String getOpeningPrice() {
        return openingPrice;
    }

    public TradeInfoResponse setOpeningPrice(String openingPrice) {
        this.openingPrice = openingPrice;
        return this;
    }

    public String getClosingTime() {
        return closingTime;
    }

    public TradeInfoResponse setClosingTime(String closingTime) {
        this.closingTime = closingTime;
        return this;
    }

    public String getClosingPrice() {
        return closingPrice;
    }

    public TradeInfoResponse setClosingPrice(String closingPrice) {
        this.closingPrice = closingPrice;
        return this;
    }

    public String getCreateDate() {
        return createDate;
    }

    public TradeInfoResponse setCreateDate(String createDate) {
        this.createDate = createDate;
        return this;
    }
}
